package com.rondo.CurrencyFramework.dao;

import com.rondo.CurrencyFramework.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author RWX
 */
@Mapper
public interface  UserDao {
    /**
     *获取所有用户
     * @return 返回所有用力列表
     */
//    @Select("SELECT  primaryid AS id,companyname AS NAME FROM company LIMIT 100")
    @Select("SELECT id,name FROM city")
    public List<User> getUserList();

    @Select("SELECT id,name FROM city")
    public List<User> getUserPageList();
}
